2. Creating and changing datasets
Data analyses in microdata.no require that users start by connecting to a data bank, then creating an empty dataset in order to import the required variables. Variable imports are done through the use of import-commands (see sections 2.3.1, 2.3.2 and 2.4).
If you need to adjust the population or remove variables, the commands drop
or keep
are relevant to use (see sections 2.6 and 2.7). Variables for deletion may be specified in the command expression. If no variable is specified, whole records are deleted conditioned on the if-expression followed.